package com.example.simplerpc.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

/**
 * @Classname: RpcProperty
 * @Description:
 * @Author: Stonffe
 * @Date: 2022/12/19 19:39
 */
@Data
@EnableConfigurationProperties(RpcProperty.class)
@ConfigurationProperties(prefix = "rpc.property")
public class RpcProperty {
    private String registerAdd;
    private Integer port;
    private String protocol;
}
